# say 新的一天

#随机数确定每日免费英雄
function nw:system/system_util/random
scoreboard players set SystemFreeHero1 System 10
scoreboard players operation SystemFreeHero1 System += Random System
function nw:system/system_util/random
scoreboard players set SystemFreeHero2 System 20
scoreboard players operation SystemFreeHero2 System += Random System
function nw:system/system_util/random
scoreboard players set SystemFreeHero3 System 30
scoreboard players operation SystemFreeHero3 System += Random System
function nw:system/system_util/random
scoreboard players set SystemFreeHero4 System 40
scoreboard players operation SystemFreeHero4 System += Random System
execute as @a run function nw:yingxiong/todayfreehero
